package com.axonactive.yolo.service.interfaces;

import java.util.List;

import com.axonactive.yolo.domain.Task;
import com.axonactive.yolo.exception.TaskNotFoundException;

public interface TaskService {
	
	public Task create(Task task);

	public boolean delete(int id) throws TaskNotFoundException;

	public List<Task> findAll();

	public boolean update(Task task) throws TaskNotFoundException;

	public Task findByTaskId(String taskId);
	
	public List<Task> findByAvailable(String available);

	public Task findById(int id);

}
